package com.stylefeng.guns.api.order;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.api.order.vo.OrderVO;

import java.util.List;

public interface OrderServiceApi {

    boolean isTrueSeats(String fieldId, String seats);
    boolean isNotSoldSeats(String fieldId, String seats);
    OrderVO saveOrderInfo(Integer fieldId, String soldSeats, String seatName, Integer userId);
    List<Page<OrderVO>> getOrderByUserId(Integer userId, Page<OrderVO> page);
    String getSoldSeatsByFieldId(Integer fieldId);
    OrderVO getOrderInfoById(String orderId);
    boolean paySuccess(String orderId);
    boolean payFail(String orderId);

}
